<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var runyear=prompt("请输入年份")
			if(runyear%4==0&&runyear%100!==0||runyear%400==0){
				alert("闰年")
			}else{
				alert("平年")
			}
		</script>
	</body>
</html>
